<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title th:replace="${title}">博客详情</title>

    <!--引入图标-->
<!--    <link rel="icon" type="image/x-icon" href="../static/favicon.ico" th:href="@{/favicon.ico}"/>-->

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}">
    <link rel="stylesheet" href="../../static/lib/editormd/css/editormd.css" th:href="@{/lib/editormd/css/editormd.css}">
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">


        <!--鼠标点击特效-->
    <canvas width="1777" height="841" style="position: fixed; left: 0px; top: 0px; z-index: 999; pointer-events: none;"></canvas>

</head>
<body >


<!--导航-->
<nav  th:fragment="menu(n)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
    <div class="ui container"><!-- container是一个一个容器来放 -->
        <div class="ui inverted secondary stackable menu">


            <!-- 导航左边,m-item移动端的时候隐藏 -->
            <h2 class="ui teal header item">后台管理</h2>
            <a href="#" th:href="@{/admin/blogs}" class="m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="mini idea icon"></i>&nbsp;&nbsp;博客</a>
            <a href="#" th:href="@{/admin/types}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="mini idea icon"></i>&nbsp;&nbsp;分类</a>
            <a href="#" th:href="@{/admin/tag}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="mini tags icon"></i>&nbsp;&nbsp;标签</a>
            <a href="#" th:href="@{/}" class="m-item item m-mobile-hide"><i class="mini tags icon"></i>&nbsp;&nbsp;首页</a>


            <!-- 右边头像 -->
            <div class="right m-item m-mobile-hide menu">
                <!-- item自适应居中 -->
                <!-- dropdown是bootstrap的组件，头像下拉框组件 -->
                <div class="dropdown item">
                    <img class="ui avatar image" src="http://i2.tiimg.com/724771/7aafc5cff55c9351.jpg" th:src="@{${session.user.avatar}}">
                    <button class="btn btn-default dropdown-toggle m-zdys" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" th:text="${session.user.nickname}">
                        一个人的~
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                        <li><a href="#" th:href="@{/admin/logout}">注销</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#">退出</a></li>
                    </ul>
                </div>
            </div>


        </div>
    </div>


    <!-- 加上面包导航，移动端点击面包导航才显示出来,m-right-top自定义样式显示到右边,m-mobile-show移动端才显示这个图标 -->
    <!-- menu toggle这个只是为了让jquery获取这个图标的，当点击这个图标，就把m-mobile-hide样式变为显示 -->
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show"><!-- icon button图标按钮 -->
        <i class="sidebar icon"></i><!-- 面包样式 -->
    </a>
</nav>


<!-- 二级导航 -->
<div class="ui attached pointing menu">
    <div class="ui container">
        <div class="right menu">
            <a href="#"  class=" item">发布</a>
            <a href="#" class="teal active item">列表</a>
        </div>
    </div>
</div>






<!--底部footer-->
<footer th:fragment="footer" class="ui inverted vertical segment m-padded-tb-massive m-mobile-hide">
    <div class="ui center aligned container"><!-- container容器,center aligned所有容器居中 -->


        <!-- grid就是一个一个格子 , 相当于bootstrap的栅格系统 , grid是分成16份-->
        <!-- 这里前面1格占1分，3格都占3份，后面一格占6份 -->
        <div class="ui inverted divided stackable grid"><!-- divided这个对grid栅格系统加上分隔线 -->
            <!-- 占几份直接用英文的数字 -->


            <!-- 第一个格子 -->
            <div class="four wide column"><!-- four4份 -->
                <div class="ui inverted link list"><!-- inverted反转颜色，link鼠标手指 -->
                    <div class="item"><!-- item居中对齐 -->
                        <!-- 图片，rounded图片是圆角,ewm-dx自定义图片大小 -->
                        <img src="https://kyun.ltyuanfang.cn/tc/2020/08/15/f11f809a42533.png" class="ui rounded image ewm-dx" alt="" >
                    </div>
                </div>
            </div>


            <!-- 第二个格子 -->
            <div class="three wide column"><!-- three3份 -->
                <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4><!-- 标题 -->
                <div class="ui inverted link list"><!-- inverted反转颜色，link鼠标手指 -->
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                    <a href="#" class="item">用户故事</a>
                </div>
            </div>


            <!-- 第三个格子 -->
            <div class="three wide column"><!-- three3份 -->
                <h4 class="ui inverted header m-text-thin m-text-spaced">联系我</h4><!-- 标题 -->
                <div class="ui inverted link list"><!-- inverted反转颜色，link鼠标手指 -->
                    <a href="#" class="item">Email: 2247605840@qq.com</a>
                    <a href="#" class="item">QQ: 2247605840</a>
                    <a href="#" class="item">微信: xinyikuoai</a>
                </div>
            </div>


            <!-- 第四个格子 -->
            <div class="six wide column"><!-- seven7份 -->
                <h4 class="ui inverted header m-text-thin m-text-spaced">温暖一刻!</h4><!-- 标题 -->
                <p class="m-text-thin m-text-spaced m-opacity-mini">真正属于你的💖，不应该是伤人的冰块，应该是一杯温暖人的热茶!</p>
            </div>
        </div>


        <!-- 最底下的,divider分割线,section跟上面的div的间隔s -->
        <div class="ui inverted section divider"></div>
        <p class="m-text-thin m-text-spaced m-opacity-mini">属于你的终究是我</p>



    </div><!-- 最外面的容器container -->
</footer>


<th:block th:fragment="script">
    <!--看板娘-->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <!--背景线条特效-->
    <script type="text/javascript" color="47,135,193" opacity='0.5' zIndex="-2" count="199" src="http://cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.min.js"></script>
    <!--    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css"/>-->
    <!--    <script src="https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget/autoload.js"></script>-->
    <!-- Bootstrap js文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
    <script src="../../static/lib/editormd/editormd.min.js" th:src="@{/lib/editormd/editormd.min.js}"></script>
</th:block>




<!--<th:block th:fragment="script">-->
<!--    &lt;!&ndash;音乐播放器&ndash;&gt;-->
<!--    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css">-->
<!--    <script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script>-->
<!--    <div id="aplayer" class="aplayer" data-autoplay="true"  data-id="4904773731" data-server="netease" data-type="playlist" data-fixed="true" data-listfolded="true" data-order="random" data-theme="#F58EA8"></div>-->
<!--    <script src="https://unpkg.com/meting@1.2.0/dist/Meting.min.js"></script>-->

<!--    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>-->
<!--    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>-->
<!--    <script src="//cdn.jsdelivr.net/npm/jquery.scrollto@2.1.2/jquery.scrollTo.min.js"></script>-->
<!--    <script src="../static/lib/prism/prism.js" th:src="@{/lib/prism/prism.js}"></script>-->
<!--    <script src="../static/lib/tocbot/tocbot.min.js" th:src="@{/lib/tocbot/tocbot.min.js}"></script>-->
<!--    <script src="../static/lib/qrcode/qrcode.min.js" th:src="@{/lib/qrcode/qrcode.min.js}"></script>-->
<!--    <script src="../static/lib/waypoints/jquery.waypoints.min.js" th:src="@{/lib/waypoints/jquery.waypoints.min.js}"></script>-->

<!--    &lt;!&ndash;添加雪花动态效果&ndash;&gt;-->
<!--    &lt;!&ndash;  <script src="../static/js/snowflake.js" th:src="@{/js/snowflake.js}"></script>&ndash;&gt;-->

<!--    &lt;!&ndash;鼠标点击特效&ndash;&gt;-->
<!--    <script src="../static/js/mouse-click.js" th:src="@{/js/mouse-click.js}"></script>-->

<!--    &lt;!&ndash;背景彩带特效&ndash;&gt;-->
<!--&lt;!&ndash;    <script src="../static/js/ribbon.js" th:src="@{/js/ribbon.js}"></script>&ndash;&gt;-->

<!--    &lt;!&ndash;背景线条特效&ndash;&gt;-->
<!--    <script type="text/javascript" color="47,135,193" opacity='0.5' zIndex="-2" count="199" src="http://cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.min.js"></script>-->


<!--    <script>-->
<!--    $('#newblog-container').load(/*[[@{/footer/newblog}]]*/"/footer/newblog");-->
<!--    </script>-->
<!--</th:block>-->

</body>
</html>